package com.dream.cgomall.dto;

import lombok.Data;

import java.io.Serializable;

@Data
public class UserDTO implements Serializable {
    private int id;
    private String phone;
    private String username;
    private String token;

    public UserDTO() {
    }

    public UserDTO(int id, String phone, String username, String token) {
        this.id = id;
        this.phone = phone;
        this.username = username;
        this.token = token;
    }

    public UserDTO(int id, String phone, String username) {
        this.id = id;
        this.phone = phone;
        this.username = username;
    }
}
